<?php $this->assign("title", "Ver Recorrido"); ?>
<h3>Informaci&oacute;n del Recorrido</h3>
<table>
	<caption>Recorrido</caption>
	<tbody>
		<tr>
			<th>Id Recorrido</th>
			<td><?php echo $recorrido['Recorrido']['id_recorrido']; ?></td>
		</tr>
		<tr>
			<th>Id Ruta</th>
			<td><?php echo $this->Html->link($recorrido['Ruta']['id_ruta'], array('controller' => 'Rutas', 'action' => 'ver', $recorrido['Ruta']['id_ruta'])); ?></td>
		</tr>
		<tr>
			<th>Nombre Ruta</th>
			<td><?php echo $recorrido['Ruta']['nombre_ruta']; ?></td>
		</tr>
		<tr>
			<th>Descripci&oacute;n Ruta</th>
			<td><?php echo $recorrido['Ruta']['descripcion_ruta']; ?></td>
		</tr>
		<tr>
			<th>Fecha Creaci&oacute;n</th>
			<td><?php echo $recorrido['Recorrido']['fecha_creacion_recorrido']; ?></td>
		</tr>
		<tr>
			<th>Fecha Modificaci&oacute;n</th>
			<td><?php echo $recorrido['Recorrido']['fecha_modificacion_recorrido']; ?></td>
		</tr>
		<tr>
			<th>Estado</th>
			<td><?php echo $recorrido['Recorrido']['estado_recorrido']; ?></td>
		</tr>
	</tbody>
</table>

<table>
	<caption>Horario Asociado</caption>
	<tbody>
		<tr>
			<th>Id Horario</th>
			<td><?php echo $recorrido['Horario']['id_horario']; ?></td>
		</tr>
		<tr>
			<th>Nombre</th>
			<td><?php echo $recorrido['Horario']['nombre_horario']; ?></td>
		</tr>
		<tr>
			<th>D&iacute;as Aplica</th>
			<td><?php echo $recorrido['Horario']['dias_aplica']; ?></td>
		</tr>
		<tr>
			<th>Hora Salida</th>
			<td><?php echo $recorrido['Horario']['hora_salida']; ?></td>
		</tr>
		<tr>
			<th>Hora Estimada Llegada</th>
			<td><?php echo $recorrido['Horario']['hora_estimada_llegada']; ?></td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="2"><?php echo $this->Html->link("Ver Detalles", array('controller' => 'Horarios', 'action' => 'ver', $recorrido['Horario']['id_horario'])); ?></td>
		</tr>
	</tfoot>
</table>

<table>
	<caption>Bus Asociado</caption>
	<tbody>
		<tr>
			<th>Id Bus</th>
			<td><?php echo $recorrido['Bus']['id_bus']; ?></td>
		</tr>
		<tr>
			<th>Placa</th>
			<td><?php echo $recorrido['Bus']['placa']; ?></td>
		</tr>
		<tr>
			<th>Capacidad</th>
			<td><?php echo $recorrido['Bus']['capacidad']; ?></td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="2"><?php echo $this->Html->link("Ver Detalles", array('controller' => 'Buses', 'action' => 'ver', $recorrido['Bus']['id_bus'])); ?></td>
		</tr>
	</tfoot>
</table>